$(function(){
	new AjaxUpload($(':file'), {
			action: 'file/upload', 
			name: 'file',
			onSubmit : function(file, ext){
				debugger;
			},
			onComplete: function(file, response){
			}
		});
})